

.cart {
    border: 1px solid #dedede ;
}

.cart-item {
    display: flex ;
    border: 1px solid #dfdfdf ;
    margin: 10px;
}


.cart-item>.id ,
.cart-item>.price ,
.cart-item>.subtotal {
    flex-basis: 100px ;
}

/* 亲子选择器 */
.cart-item>.name {
    flex-basis: 400px ;
}

.cart-item>.number {
    flex-basis: 200px ;
}

.cart-item>.number a {
    display: inline-block ;
    width: 20px ;
    background: rgb(77, 77, 253) ;
    color: #fff ;
    text-align: center ;
    border-radius: 2px;
    cursor: pointer ;
    user-select: none ;
}

.total-wrapper {
    display: flex ;
}

.total-wrapper>.total {
    margin-left: 800px ;
    flex-basis: 100px ;
}
